<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
  export default {
    name: 'App'
  }
</script>

<style lang="less">
  @import "theme/index.less";

  html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
  }

  .icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
  }

  #app {
    height: 100%;
    font-family: '微软雅黑', 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
  }

  .margin-top-10 {
    margin-top: 10px;
  }

  .inline {
    display: inline-block;
  }
  .pull-right{
    float: right;
  }

  table {
    width: 100%;
  }
  .spin-icon-load{
    animation: ani-demo-spin 1s linear infinite;
  }
  .success-bg{
    background-color: @success-color;
    color: #fff;
  }
  .success-text{
    color: @success-color;
  }
  .primary-bg{
    background-color: @primary-color;
    color: #fff;
  }
  .primary-text{
    color: @primary-color;
  }
  .info-bg{
    background-color: @info-color;
    color: #fff;
  }
  .info-text{
    color: @info-color;
  }
  .warning-bg{
    background-color: @warning-color;
    color: #fff;
  }
  .warning-text{
    color: @warning-color;
  }

  .model-header{
    color: @primary-color;
  }

  .hover:hover {
    cursor: pointer;
  }

  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  ::-webkit-scrollbar-corner, ::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(100, 100, 100, 0.4);
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 1em;
    background-color: rgba(50, 50, 50, 0.3);
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0.8);
  }

  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }

  .clear::after {
    display: block;
    content: '';
    width: 0;
    height: 0;
    visibility: hidden;
    clear: both;
  }

  /* @media */
  @media screen and (max-width: 750px) {
    html, body {
      font-size: 14px;
    }
  }

  @media screen and (min-width: 751px) and (max-width: 1440px) {
    html, body {
      font-size: 16px;
    }
  }

  @media screen and (min-width: 1441px) and (max-width: 1920px) {
    html, body {
      font-size: 18px;
    }
  }

  @media screen and (min-width: 1921px) {
    html, body {
      font-size: 20px;
    }
  }
</style>
